{if isset($msg)}

{if $msg->error != ''}
<div class="alert alert-error fade in"><a data-dismiss="alert" class="close">×</a>{$msg->error}</div>
{/if}

{if $msg->success != ''}
<div class="alert alert-success fade in"><a data-dismiss="alert" class="close">×</a>{$msg->success}</div>
{/if}

{if $msg->warning != ''}
<div class="alert alert-warning fade in"><a data-dismiss="alert" class="close">×</a>{$msg->warning}</div>
{/if}

{if $msg->info != ''}
<div class="alert alert-info fade in"><a data-dismiss="alert" class="close">×</a>{$msg->info}</div>
{/if}

{/if}